﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Portal.Workflow.Model
{
    public interface IDetectRoleForNext
    {
        string ServiceId { get; }
        string ServiceName { get; }
        string[] GetRoleIds(string SiteId, string WorkflowDefId, string WorkflowActionId, string RecordId, string CreatedByRoleId);
    }

    public class DetectRoleForNextTemplate: IDetectRoleForNext
    {
        public virtual string ServiceId { get { return null; } }
        public virtual string ServiceName { get { return null; } }
        public virtual string[] GetRoleIds(string SiteId, string WorkflowDefId, string WorkflowActionId, string RecordId, string CreatedByRoleId) { return new string[0]; }
    }

}
